/**
 * 
 */
package vin.echo.core.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Vin.Ma
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Service {
	/**
	 * service id 
	 * @return
	 */
	String name();
	
	/**
	 * If you set this to true, this service will become a single case
	 * @return
	 */
	boolean isPrototype();

}
